package com.itheima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.NewsAuthDTO;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.dtos.WmNewsDTO;
import com.heima.model.common.dtos.WmNewsPageReqDTO;
import com.heima.model.common.mededia.pojo.WmNews;

public interface WnNewsService extends IService<WmNews> {
    ResponseResult findList(WmNewsPageReqDTO wmNewsPageReqDTO);

    ResponseResult submit(WmNewsDTO wmNewsDTO);

    ResponseResult selectById(Integer id);

    ResponseResult delNewsById(Integer id);

    ResponseResult downOrUp(WmNewsDTO dto);

    ResponseResult selectList(NewsAuthDTO dto);

    ResponseResult findWmNewsVo(Integer id);

    ResponseResult updateStatus(Short status,NewsAuthDTO dto);
}
